package com.lucas.demo.facade;

import com.lucas.demo.prototype.Square;

/**
 * @author Lucas
 * @date 2021/7/29 下午2:20
 */
public class ShapeMaker {

    private Shape circle;
    private Shape rectangle;

    public ShapeMaker() {
        circle = new Circle();
        rectangle = new Rectangle();

    }
    public void drawCircle(){
        circle.draw();
    }
    public void drawRectangle(){
        rectangle.draw();
    }

}
